package com.lening.community.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.common.base.BaseServiceImpl;
import com.lening.community.dto.BuildingDto;
import com.lening.community.dto.GarageDto;
import com.lening.community.mapper.BuildingMapper;
import com.lening.community.mapper.GarageMapper;
import com.lening.community.pojo.Building;
import com.lening.community.pojo.Garage;
import com.lening.community.service.BuildingService;
import com.lening.community.service.GarageService;
import org.springframework.stereotype.Service;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 17:05
 */
@Service
public class GarageServiceImpl extends BaseServiceImpl<GarageMapper, Garage, GarageDto>
implements GarageService {


    @Override
    public Page<Garage> page(GarageDto garageDto) {
        return this.baseMapper.page(garageDto);
    }

    @Override
    public Garage getById(Long id) {
        return this.baseMapper.getById(id);
    }
}
